//
//  ADControl.h
//  NotificateMe
//
//  Created by ; sehoon on 11. 11. 14..
//  Copyright (c) 2011 none. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <iAd/iAd.h>
#import "GADBannerViewDelegate.h"

@class MobileAdViewController, GADBannerView;

@interface ADControl : NSObject <GADBannerViewDelegate, ADBannerViewDelegate>{
    MobileAdViewController *adViewCtrl;
    ADBannerView *adBanner;
    GADBannerView *adMobBanner;
    CGFloat yPoint;
    BOOL iAdShow;
    BOOL adHide;
    UIViewController *viewController;
    
}

@property (nonatomic, retain) UIViewController *viewController;

+ (ADControl *)defaultsAD;
- (void)addAds:(UIViewController *)viewControl wihtYPoint:(CGFloat)y;
- (void)addAdamAd:(CGFloat)y;
- (void)initAdmob:(CGFloat)y;
- (void)initiAd:(CGFloat)y;

//애드몹 숨기기 보이기
- (void)hideAdmob:(BOOL)hide;

//모든 광고 숨기기 
- (void)hideAllAds:(BOOL)hide;

@end
